package org.zxyj.manage.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.zxyj.system.domain.User;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 答卷模板
    * @ClassName: Batch
    * @author liuyong
    * @date 2016年7月1日
    *
 */
public class Batch implements Serializable{
	private static final long serialVersionUID = -4185420380398617284L;
	/**id*/
	private String id;
	/**名称*/
	private String mc;
	/**开始日期*/
	private Date ksrq;
	/**结束日期*/
	private Date jsrq;
	/**是否使用*/
	private Integer sfsy;
	/**学校代码*/
	private String schoolCode;
	/**是否使用名称*/
	private String sfsyName;
	/**创建人*/
	private User creator;
	/**创建时间*/
	private Date createTime;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getMc() {
		return mc;
	}
	public void setMc(String mc) {
		this.mc = mc;
	}
	@DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public Date getKsrq() {
		return ksrq;
	}
	public void setKsrq(Date ksrq) {
		this.ksrq = ksrq;
	}
	@DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public Date getJsrq() {
		return jsrq;
	}
	public void setJsrq(Date jsrq) {
		this.jsrq = jsrq;
	}
	public Integer getSfsy() {
		return sfsy;
	}
	public void setSfsy(Integer sfsy) {
		this.sfsy = sfsy;
	}
	public String getSchoolCode() {
		return schoolCode;
	}
	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}
	public String getSfsyName() {
		return sfsyName;
	}
	public void setSfsyName(String sfsyName) {
		this.sfsyName = sfsyName;
	}
	public User getCreator() {
		return creator;
	}
	public void setCreator(User creator) {
		this.creator = creator;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
